To View multiple uploaded images [closed]

Posted by Nilesh Sonawane on Programmers See other posts from Programmers or by Nilesh Sonawane
Published on 2012-10-05T09:13:07Z Indexed on 2012/10/05 9:48 UTC
Read the original article Hit count: 223

Filed under:

PHP Javascript Image Upload function updatepicture(pic) { document.getElementById("image").setAttribute("src", pic); document.getElementById("image1").setAttribute("src", pic); document.getElementById("image2").setAttribute("src", pic); }

Vastu deals Image Upload

Upload message will go here.





//query for insert timepass.php

0) { if ($_FILES['file']['size'] parent.document.getElementById("message").innerHTML = ""; parent.document.getElementById("file").value = ""; window.parent.updatepicture(""); parent.document.getElementById("message").innerHTML = "There was an error uploading your image. Please try again later."; parent.document.getElementById("message").innerHTML = "Your file is larger than 150kb. Please choose a different picture.";

© Programmers or respective owner

Related posts about php